-- GENERATED SPELL FOR [Scorpashi Venomlash] --


function spell0_4699(pUnit, Event) --@Venom Sting,n/a--
pUnit:FullCastSpellOnTarget(5416,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4699', 45000, 1)
end

function Sorts_4699(pUnit, Event)
local choix_sorts_4699 = math.random(0, 0)
if choix_sorts_4699 == 0 then
pUnit:RegisterEvent('spell0_4699', 1, 1)
end
end

function mob4699_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4699', math.random(1500, 3000), 1)
end

function mob4699_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4699_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4699_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4699, 1, 'mob4699_Action')
RegisterUnitEvent(4699, 2, 'mob4699_Leave')
RegisterUnitEvent(4699, 3, 'mob4699_Kill')
RegisterUnitEvent(4699, 4, 'mob4699_Die')
